﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.IoC;


namespace Kooboo.Commerce.Contexts.Payments
{
    public static class VistorBehavior
    {
        public static IQueryable<IPayment> QueryPayments(this IVistor viewer)
        {
            return ContextContainer.Current.Resolve<IPaymentRepository>().Payments;
        }
    }
}
